<table border="0" cellpadding="4" cellspacing="0" width="100%"><tbody>
<tr>
	<td rowspan="2" width="80" valign="top">供应商：</td>
	<td rowspan="2" valign="top"><? $indent.supplier ?></td>
	<td width="15%" class="right">PO NO.：</td>
	<td width="35%"><? $indent.sno ?></td>
</tr>
<tr>
	<td width="15%" class="right">日 期：</td>
	<td><?= date('Y-m-d H:i', $indent.addtime) ?></td>
</tr>
</table>

<table border="0" class="list">
<tbody>
<tr class="nobg">
	<th>编号</th>
	<th>材料名称</th>
	<th>品牌</th>
	<th>规格</th>
	<th>单位</th>
	<th>数量</th>
	<th>单价</th>
	<th>金额</th>
	<th>备注</th>
</tr>
<? $amount = 0; ?>
<{foreach item=ware from=$indent.items}>
	<tr id="selstf_<{$ware.id}>">
		<td><{$ware.sno}></td>
		<td><{$ware.name}></td>
		<td><{$ware.brand}></td>
		<td><{$ware.specific}></td>
		<td><{$ware.unit}></td>
		<td><div class="decimal"><{$ware.amount}></div></td>
		<td><div class="decimal fnum"><{$ware.price}></div></td>
		<td><div class="decimal fnum"><{= $ware.price * $ware.amount}></div></td>
		<td><div class="text"><{= $ware.remark}></div></td>
	</tr>
	<? $amount += $ware.amount ?>
<{/foreach}>
	<tr class="hl">
		<td>小计</td>
		<td>&nbsp;</td>
		<td>&nbsp;</td>
		<td>&nbsp;</td>
		<td>&nbsp;</td>
		<td><div class="decimal"><? $amount ?></div></td>
		<td>&nbsp;</td>
		<td><div class="decimal fnum"><? $indent.total ?></div></td>
		<td>&nbsp;</td>
	</tr>
</tbody></table>

<table border="0" cellpadding="4" cellspacing="0" width="100%"><tbody>
<tr>
	<td width="100">采购经办人：</td>
	<td><? $indent.user_name ?></td>
</tr>
<tr>
	<td>PR NO.： </td>
	<td><? $indent.pr_no ?></td>
</tr>
<tr>
	<td>备注： </td>
	<td class="text"><? $indent.remark ?></td>
</tr>
</tbody></table>